package com.beidu.lottery.call.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.beidu.lottery.call.entity.OrderBase;
import com.beidu.lottery.call.entity.query.OrderListQuery;
import com.beidu.lottery.call.entity.vo.OrderListVO;
import com.beidu.lottery.call.entity.vo.UserAwardRecordDetailVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 订单基础信息表 Mapper 接口
 * </p>
 *
 * @author 北渡
 * @since 2024-08-30
 */
public interface OrderBaseMapper extends BaseMapper<OrderBase> {

    List<OrderListVO> orderList(OrderListQuery query);

    UserAwardRecordDetailVO detailForB(@Param("orderId") Integer orderId);
}
